package com.wuchao.util;

import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Author wuchao66
 * @Date 2022/7/8 12:04
 * @Version 1.0
 */
public class SysInterceptor  extends HandlerInterceptorAdapter {
    public boolean preHandle(
            HttpServletRequest request
            , HttpServletResponse response,
            Object handler) throws Exception{
        System.out.println("进入自定义拦截器==>SysInterceptor");
        return true;
    }

}
